// 工作模式相关接口

import { createAPI } from '@/utils/request'

// 获取工作模式列表
export const getWorkPatterns = data => createAPI(`/work-patterns/all`, 'get', data)

// 获取树状机构信息
export const agencyList = data => createAPI(`/business-hall/tree`, 'get', data)

// 排班管理列表
export const workManage = data => createAPI(`/work-schedulings`, 'get', data)

// 人工调整排班
export const peopleSet = data => createAPI(`/work-schedulings`, 'put', data)
